package com.system.pay.service;


import com.alipay.api.AlipayApiException;
import com.system.pay.bean.PayBean;
import com.system.pay.dto.RefundDTO;

import java.util.Map;

/**
 * @className: PayService
 * @description: TODO 类描述
 * @author: Li Chuanwei
 * @date: 2023/12/03 8:58
 * @Company: Copyright [日期] by [作者或个人]
 **/

public interface PayService {

    /**
     * 支付宝支付接口
     * @param payBean
     * @return String
     */
    String Pay(PayBean payBean) throws AlipayApiException;
    boolean paynotify(Map<String,String> receiveMap) throws Exception;

    Integer getResult(String out_trade_no) throws Exception;

    boolean appointmentRefund(RefundDTO refundDTO) throws AlipayApiException;
}
